<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
	<%@ include file="/include/meta.jsp"%>
	<base href="<%=basePath%>">
	<title>设定角色权限</title>
    <link rel="stylesheet" type="text/css" href="res/js/zTree_v3/css/zTreeStyle/zTreeStyle.css" />
	<link rel="stylesheet" type="text/css" href="wro/base.css" />
</head>
<body class="easyui-layout">
	<div data-options="region:'north',border:false" style="height:35px;padding:5px;">
		<div class='text-right'>
			<button class="btn btn-info btn-xs" onclick="selectAll();">全选</button>
			<button class="btn btn-info btn-xs" onclick="clearSelect();">清空</button>
			<button class="btn btn-success btn-xs" onclick="makeSubmit();">设置</button>
		</div>
	</div>
	<div data-options="region:'center',border:false">
		<form method="post" id="form" action="system/system_role!saveForConfigPermission.action">
			<input type="hidden" id="postData" name="postData" />
			<input type="hidden" id="roleId" name="systemRole.id" value="${systemRole.id}"/>
			<div id="panel">
				<ul id="tree" class="ztree"></ul>
			</div>
		</form>
	</div>
	<script type="text/javascript" src="wro/base.js"></script>
    <script type="text/javascript" src="res/js/zTree_v3/js/jquery.ztree.all-3.5.min.js"></script>
	<script type="text/javascript" src="res/page/system/role_config_permission.js"></script>
</html>